#pragma once
#include "baseobject.h"
#include <hge.h>
const int hSCREEN_WIDTH = 800;
const int hSCREEN_HEIGHT = 600;
class hgeFont;
class BaseGame : public BaseObject
{
public:
	BaseGame();
	virtual ~BaseGame();
	virtual void Cleanup();
	virtual bool Start();
	virtual bool Initialize();
	virtual bool Update(float fDeltaTime);
	virtual bool Render();
	virtual bool Restore();

	HGE* GetHGE() { return m_pHge; }

	static bool FrameFunc();
	static bool RenderFunc();
	static bool GfxRestoreFunc();
	
protected:
	hgeFont *m_pDebugFont;
	HGE *m_pHge;

	class GameManager *m_pGameMgr;
};
extern class BaseGame *g_pBaseGame;
extern class HGE *g_pHge;
